<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta name="Content-Type" content="text/html; charset=UTF-8" />
<title>Class: Sass::Supports::Operator</title>
<link rel="stylesheet" href="style.css" tppabs="http://sass-lang.com/docs/yardoc/css/style.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="common.css" tppabs="http://sass-lang.com/docs/yardoc/css/common.css" type="text/css" media="screen" charset="utf-8" />

<script type="text/javascript" charset="utf-8">
  relpath = '../..';
  if (relpath != '') relpath += '/';
</script>
<script type="text/javascript" charset="utf-8" src="jquery.js" tppabs="http://sass-lang.com/docs/yardoc/js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="app.js" tppabs="http://sass-lang.com/docs/yardoc/js/app.js"></script>

  </head>
  <body>
    <script type="text/javascript" charset="utf-8">
      if (window.top.frames.main) document.body.className = 'frames';
    </script>
    
    <div id="header">
      <div id="menu">
  
    <a href="_index.html" tppabs="http://sass-lang.com/docs/yardoc/_index.html">Index (O)</a> &raquo; 
    <span class='title'><a href="Sass-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass.html" title="Sass (module)">Sass</a></span> &raquo; <span class='title'><a href="Supports.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Supports.html" title="Sass::Supports (module)">Supports</a></span>
     &raquo; 
    <span class="title">Operator</span>
  
  
  <div class="noframes"><span class="title">(</span><a href="javascript:if(confirm(%27http://sass-lang.com/docs/yardoc/Sass/Supports/.  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?%27))window.location=%27http://sass-lang.com/docs/yardoc/Sass/Supports/.%27" tppabs="http://sass-lang.com/docs/yardoc/Sass/Supports/." target="_top">no frames</a><span class="title">)</span></div>
</div>

      <div id="search">
  <a id="class_list_link" href="#">Class List</a>
  <a id="method_list_link" href="#">Method List</a>
  <a id ="file_list_link" href="#">File List</a>
</div>

      <div class="clear"></div>
    </div>
    
    <iframe id="search_frame"></iframe>
    
    <div id="content"><h1>Class: Sass::Supports::Operator 
  
  
</h1>

<dl class="box">
  
    <dt class="r1">Inherits:</dt>
    <dd class="r1">
      <span class="inheritName"><a href="Condition.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Supports/Condition.html" title="Sass::Supports::Condition (class)">Condition</a></span>
      
        <ul class="fullTree">
          <li>Object</li>
          
            <li class="next"><a href="Condition.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Supports/Condition.html" title="Sass::Supports::Condition (class)">Condition</a></li>
          
            <li class="next">Sass::Supports::Operator</li>
          
        </ul>
        <a href="#" class="inheritanceTree">show all</a>
      
      </dd>
    
  
  
    
  
    
  
  
    <dt class="r2 last">Defined in:</dt>
    <dd class="r2 last">/var/www/sass-pages/.sass/lib/sass/supports.rb</dd>
  
</dl>
<div class="clear"></div>

<h2>Overview</h2><div class="docstring">
  <div class="discussion">
    <p>An operator condition (e.g. <code>CONDITION1 and CONDITION2</code>).</p>

  </div>
</div>
<div class="tags">
  
</div>

  
  
  
  
  <h2>Instance Attribute Summary</h2>
  <ul class="summary">
    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#left-instance_method" title="#left (instance method)">- (Sass::Supports::Condition) <strong>left</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  

  
    <span class="summary_desc">The left-hand condition.</span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#op-instance_method" title="#op (instance method)">- (String) <strong>op</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  

  
    <span class="summary_desc">The operator (&#8220;and&#8221; or &#8220;or&#8221;).</span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#right-instance_method" title="#right (instance method)">- (Sass::Supports::Condition) <strong>right</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  

  
    <span class="summary_desc">The right-hand condition.</span>
  
</li>

    
  </ul>


  <h2>Instance Method Summary</h2>

  <ul class="summary">
    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#deep_copy-instance_method" title="#deep_copy (instance method)">- <strong>deep_copy</strong> </a>
    

    
  </span>
  
  
  
  
  

  
    <span class="summary_desc"></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#initialize-instance_method" title="#initialize (instance method)">- (Operator) <strong>initialize</strong>(left, right, op) </a>
    

    
  </span>
  
    <span class="note title constructor">constructor</span>
  
  
  
  
  

  
    <span class="summary_desc">A new instance of Operator.</span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#options%3D-instance_method" title="#options= (instance method)">- <strong>options</strong>(options) </a>
    

    
  </span>
  
  
  
  
  

  
    <span class="summary_desc"></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#perform-instance_method" title="#perform (instance method)">- <strong>perform</strong>(env) </a>
    

    
  </span>
  
  
  
  
  

  
    <span class="summary_desc"></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#to_css-instance_method" title="#to_css (instance method)">- <strong>to_css</strong> </a>
    

    
  </span>
  
  
  
  
  

  
    <span class="summary_desc"></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#to_src-instance_method" title="#to_src (instance method)">- <strong>to_src</strong>(options) </a>
    

    
  </span>
  
  
  
  
  

  
    <span class="summary_desc"></span>
  
</li>

    
  </ul>

  
  
  
  
  <div id="constructor_details" class="method_details_list">
  <h2>Constructor Details</h2>
  
    <div class="method_details first">
  <p class="signature first" id="initialize-instance_method">
  
    - (<tt><a href="" title="Sass::Supports::Operator (class)">Operator</a></tt>) <strong>initialize</strong>(left, right, op) 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>A new instance of Operator</p>

  </div>
</div>
<div class="tags">
  
</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


49
50
51
52
53</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/supports.rb', line 49</span>

def initialize(left, right, op)
  @left = left
  @right = right
  @op = op
end</pre>
    </td>
  </tr>
</table>
</div>
  
</div>

  <div id="instance_attr_details" class="attr_details">
    <h2>Instance Attribute Details</h2>
    
      
      <span id="left=-instance_method"></span>
      <span id="left-instance_method"></span>
      <div class="method_details first">
  <p class="signature first" id="left-instance_method">
  
    - (<tt><a href="Condition.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Supports/Condition.html" title="Sass::Supports::Condition (class)">Sass::Supports::Condition</a></tt>) <strong>left</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>The left-hand condition.</p>

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt><a href="Condition.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Supports/Condition.html" title="Sass::Supports::Condition (class)">Sass::Supports::Condition</a></tt>)</span>
      
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


37
38
39</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/supports.rb', line 37</span>

def left
  @left
end</pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id="op=-instance_method"></span>
      <span id="op-instance_method"></span>
      <div class="method_details ">
  <p class="signature " id="op-instance_method">
  
    - (<tt>String</tt>) <strong>op</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>The operator (&#8220;and&#8221; or &#8220;or&#8221;).</p>

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt>String</tt>)</span>
      
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


47
48
49</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/supports.rb', line 47</span>

def op
  @op
end</pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id="right=-instance_method"></span>
      <span id="right-instance_method"></span>
      <div class="method_details ">
  <p class="signature " id="right-instance_method">
  
    - (<tt><a href="Condition.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Supports/Condition.html" title="Sass::Supports::Condition (class)">Sass::Supports::Condition</a></tt>) <strong>right</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>The right-hand condition.</p>

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt><a href="Condition.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Supports/Condition.html" title="Sass::Supports::Condition (class)">Sass::Supports::Condition</a></tt>)</span>
      
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


42
43
44</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/supports.rb', line 42</span>

def right
  @right
end</pre>
    </td>
  </tr>
</table>
</div>
    
  </div>


  <div id="instance_method_details" class="method_details_list">
    <h2>Instance Method Details</h2>
    
    
      <div class="method_details first">
  <p class="signature first" id="deep_copy-instance_method">
  
    - <strong>deep_copy</strong> 
  

  
</p><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


68
69
70
71
72
73</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/supports.rb', line 68</span>

def deep_copy
  copy = dup
  copy.left = @left.deep_copy
  copy.right = @right.deep_copy
  copy
end</pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <p class="signature " id="options=-instance_method">
  
    - <strong>options=</strong>(options) 
  

  
</p><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


75
76
77
78</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/supports.rb', line 75</span>

def options=(options)
  @left.options = options
  @right.options = options
end</pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <p class="signature " id="perform-instance_method">
  
    - <strong>perform</strong>(env) 
  

  
</p><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


55
56
57
58</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/supports.rb', line 55</span>

def perform(env)
  @left.perform(env)
  @right.perform(env)
end</pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <p class="signature " id="to_css-instance_method">
  
    - <strong>to_css</strong> 
  

  
</p><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


60
61
62</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/supports.rb', line 60</span>

def to_css
  "#{left_parens @left.to_css} #{op} #{right_parens @right.to_css}"
end</pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <p class="signature " id="to_src-instance_method">
  
    - <strong>to_src</strong>(options) 
  

  
</p><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


64
65
66</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/supports.rb', line 64</span>

def to_src(options)
  "#{left_parens @left.to_src(options)} #{op} #{right_parens @right.to_src(options)}"
end</pre>
    </td>
  </tr>
</table>
</div>
    
  </div>

</div>
    
    <div id="footer">
  Generated on Fri Mar  8 20:33:36 2013 by 
  <a href="javascript:if(confirm(%27http://yardoc.org/  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?%27))window.location=%27http://yardoc.org/%27" tppabs="http://yardoc.org/" title="Yay! A Ruby Documentation Tool">yard</a>
  0.5.3 (ruby-1.8.7).
</div>


  <script type="text/javascript">
  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  </script>
  <script type="text/javascript">
  try {
  var pageTracker = _gat._getTracker("UA-535380-8");
  pageTracker._trackPageview();
  } catch(err) {}</script>


  </body>
</html>